package controller;

import model.Model;
import view.UI;

public class MyController implements Controller {
	private Model model;
	private UI ui;
	
	@Override
	public void setModel(Model model) {
		this.model = model;
		System.out.println("My Controller says model updated!");
	}

	@Override
	public void setView(UI ui) {
		this.ui = ui;
		System.out.println("My controller says view updated!");
	}

	
	@Override
	public void updateData(double[] data) {
		ui.updateData(data);
	}
	
	
}
